package o;

import com.google.android.exoplayer2.Player;
import o.abr.e;

public abstract class aaz implements Player {
    protected final e ˏ = new e();

    public final void ˎ(long j) {
        ˏ(ॱॱ(), j);
    }

    public final int ˋ() {
        long ॱˊ = ॱˊ();
        long ᐝ = ᐝ();
        if (ॱˊ == -9223372036854775807L || ᐝ == -9223372036854775807L) {
            return 0;
        }
        if (ᐝ != 0) {
            return anr.ॱ((int) ((ॱˊ * 100) / ᐝ), 0, 100);
        }
        return 100;
    }

    public final long ॱ() {
        abr ᐝॱ = ᐝॱ();
        if (ᐝॱ.ˏ()) {
            return -9223372036854775807L;
        }
        return ᐝॱ.ˎ(ॱॱ(), this.ˏ).ˏ();
    }
}
